when x is
 "blah" | "blop" -> 1
 "foo" |
  "bar"
 |"baz" -> 2
 "stuff" -> 4
